package com.bdqn.mapper;

import com.bdqn.pojo.Storage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StorageMapper {
    /**
     * 添加入库信息
     */
    public int addStorage(Storage storage);

    /**
     * 根据供货商ID删除
     *
     * @return
     */
    public int delid(@Param("id") Integer id);

    /**
     * 修改
     *
     * @param storage
     * @return
     */
    public int modify(Storage storage);
}
